#pragma once
#include "lib.h"

template <typename Container>
ostream& test_16_19(Container const &container, ostream& os) {
	for (typename Container::size_type i = 0; i != container.size(); ++i) {
		os << container[i] << endl;
	}
	return os;
}

template <typename Container>
ostream& test_16_19_2(Container const &container, ostream& os) {
	for (auto iter = container.cbegin();
		iter != container.cend(); ++iter) {
		os << *iter << endl;
	}
	return os;
}